package com.cqb.cn.modle.bo;

import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @project_name: hqbz
 * @package_name: com.htsy.hqbz.modle.bo
 * @ClassName: ErrorsModel
 * @description: TODO
 * Author by cqb, Date on 2020/9/18，21:38
 * PS: Not easy to write code, please indicate.
 */
@Data
@NoArgsConstructor
public class ErrorsModel {
        @NotNull(message = "id must not be null!")
        private Integer id;
        @NotEmpty(message = "errors name must not be empty!")
        private String name;
    }

